﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GiaoTrinhEPU.Caching;

namespace GiaoTrinhEPU.Repositories.Repositories
{
    public class BaseRepository
    {
        public ICacheProvider Cache { get; set; }

        public BaseRepository() : this(new DefaultCacheProvider()) { }

        public BaseRepository(ICacheProvider cacheProvider)
        {
            this.Cache = cacheProvider;
        }
    }
}
